<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>JavaScript Interpreter Test</title>
</head>
<body>
<h1>JavaScript Interpreter Test</h1>
<p>Copy and Paste the folowing commands in order:</p>
<pre title="interpreter">
#simple evaluation:
&gt;&gt;&gt; 7*6
#handling spaces:
&gt;&gt;&gt; 7 * 6
#assignment:
&gt;&gt;&gt; x = 7*6
&gt;&gt;&gt; print x
#auto-indent:
&gt;&gt;&gt; for y in range(11):
&gt;&gt;&gt;     print (x*y)
&gt;&gt;&gt; 
#(note the blank line at the end)
#error handling
&gt;&gt;&gt; import sys
&gt;&gt;&gt; sys.exit()
#(this should not actually exit, but instead catch the error)
</pre>
<p>Here's another one:</p>
<pre title="interpreter"></pre>
<p>Empty interpreter to editor</p>
<pre title="interpreter editor"></pre>

<p><a href="index.html">Back to the test index</a></p>
</body>
</html>